package com.fzh.pojo.entity;

public class ProductProperty {
	private Integer id;
	/**
	 * 链接商品表的外键id
	 */
	private Integer f_pid;
	/**
	 * 商品的尺寸大小
	 */
	private String size;
	/**
	 * 商品的库存
	 */
	private Integer stock;
	
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getF_pid() {
		return f_pid;
	}
	public void setF_pid(Integer f_pid) {
		this.f_pid = f_pid;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public Integer getStock() {
		return stock;
	}
	public void setStock(Integer stock) {
		this.stock = stock;
	}
	public ProductProperty(Integer id, Integer f_pid, String size, Integer stock) {
		super();
		this.id = id;
		this.f_pid = f_pid;
		this.size = size;
		this.stock = stock;
	}
	public ProductProperty() {
		super();
	}
	@Override
	public String toString() {
		return "productProperty [id=" + id + ", f_pid=" + f_pid + ", size=" + size + ", stock=" + stock + "]";
	}
	
	
	
	
}
